package com.iterator.service.web.configManager;

import com.iterator.mapper.web.configManager.ConfigMapper;
import com.iterator.bean.web.lyh.configbean.ExpressConfig;
import com.iterator.bean.web.lyh.configbean.MallConfig;
import com.iterator.bean.web.lyh.configbean.OrderConfig;
import com.iterator.bean.web.lyh.configbean.WxConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ConfigServiceImpl implements ConfigService{

    @Autowired
    ConfigMapper configMapper;

    @Override
    public MallConfig getMallConfig() {
        return configMapper.getMallConfig();
    }

    @Override
    public void setMallConfig(MallConfig config) {
        configMapper.setMallConfig(config);
    }

    @Override
    public ExpressConfig getExpressConfig() {
        return configMapper.getExpressConfig();
    }

    @Override
    public void setExpressConfig(ExpressConfig config) {
        configMapper.setExpressConfig(config);
    }

    @Override
    public OrderConfig getOrderConfig() {
        return configMapper.getOrderConfig();
    }

    @Override
    public void setOrderConfig(OrderConfig config) {
        configMapper.setOrderConfig(config);
    }

    @Override
    public WxConfig getWxConfig() {
        return configMapper.getWxConfig();
    }

    @Override
    public void setWxConfig(WxConfig config) {
        configMapper.setWxConfig(config);
    }

}
